/*
 * @Author: C.
 * @Date: 2023-06-07 15:10:26
 */
interface IFromUser {
  UserId: string;
  UserName: string;
  PhotoUrl: string;
  Department: string;
}
export interface IBackMsg {
  SendTime: number;
  Content: string;
  FromUser: IFromUser;
  NotificationType: 'info' | 'success' | 'error' | 'warn' | 'warning';
  DynamicData: Recordable;
  Type: string;
}
export interface IFrontMsg {
  Content: string;
  Type: string;
  ToUserId: string;
  DynamicData?: Recordable;
}

export interface INoticeMsg {
  FromUser: IFromUser;
  Content: string;
  Type: string;
  DynamicData?: Recordable;
  ClickClose: boolean;
  Id: any;
  Title: string;
  SendTime: string;
}
